﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FibonachiNumbers
{
    class Program
    {
        static void Main(string[] args)
        {
            PrintFibonacciNum(10, 10, 32);
            Console.ReadKey();
        }

        static void PrintFibonacciNum(int number, int firstNum, int secondNum)
        {
            int[] mas = new int[number];
            mas[0] = firstNum;
            mas[1] = secondNum;
            Console.Write("Fibonacci number: {0}  {1}", mas[0], mas[1]);
            for (int i = 2; i < number; i++)
            {
                mas[i] = mas[i - 2] + mas[i - 1];
                Console.Write("  {0}",mas[i]);
            }
        }
    }
}
